package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_dzmxb_2025042311382252")
public class OrderReconciliationDetailDO extends BaseDO {

    /**
     * 来源单号
     */
    @TableField("comInputField123")
    private String sourceDocumentNo;

    /**
     * 物料编码
     */
    @TableField("selectField104")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField("comInputField105")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField("comInputField106")
    private String materialSpecification;

    /**
     * 品类编码
     */
    @TableField("selectField108")
    private String categoryCode;

    /**
     * 品类名称
     */
    @TableField("selectField124")
    private String categoryName;

    /**
     * 单位编码
     */
    @TableField("selectField111")
    private String unitCode;

    /**
     * 单位名称
     */
    @TableField("comInputField110")
    private String unitName;

    /**
     * 不含税单价
     */
    @TableField("numInputField113")
    private BigDecimal unitPriceExcludingTax;

    /**
     * 含税单价
     */
    @TableField("numInputField114")
    private BigDecimal unitPriceIncludingTax;

    /**
     * 税率编码
     */
    @TableField("selectField116")
    private String taxRateCode;

    /**
     * 税率值(%)
     */
    @TableField("comInputField118")
    private String taxRate;

    /**
     * 数量
     */
    @TableField("numInputField119")
    private Integer quantity;

    /**
     * 应对金额
     */
    @TableField("numInputField120")
    private BigDecimal expectedAmount;

    /**
     * 调整金额
     */
    @TableField("numInputField121")
    private BigDecimal adjustedAmount;

    /**
     * 实对金额
     */
    @TableField("numInputField122")
    private BigDecimal actualReconciledAmount;
}